<% content_for :title do %>
    Users
<% end %>
<table>
    <tr>
        <th>Name</th>
        <th>Email</th>
        <th>Actions</th>
    </tr>
<% @users.each do |user| %>
    <tr>
        <td><%= user.name %></td>
        <td><%= user.email %></td>
        <td><%=link_to "Delete", user_path(user), method: :delete  %></td>
    </tr>
<% end %>
</table>
